*{
	margin: 0;
	padding: 0;
}
/* :root根伪类 --为自定义CSS属性，方便重复使用一个属性，自定义属性使用用var()进行 */
:root{
	--white:#e9e9e9;
	--gray:#333;
	--blue:#0367;
	--lightblue:#008997;
	--button-radius:0.7rem;
	--max-width:758px;
	--max-height:420px;
	font-size: 16px;
}
body{
	align-items: center;
	background-color: var(--white);
	background: url(../img/注册页图片/registerbg.jpg);
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: grid;
	height: 100vh;
	place-items:center;
}
.container{
	background-color: var(--white);
	/* opacity: 0.5; */
	background: url(../img/注册页图片/registerbg.jpg);
	border-radius: var(--button-radius);
	box-shadow: 0 0.9rem 1.7rem rgba(0,0,,0,0.25);
	height: var(--max-height);
	width: var(--max-height);
	overflow: hidden;
	position: relative;
	width: 25%;
}
.containerform{
	height: 100%;
	text-align: center;
	position: absolute;
	opacity: 1;
	top: 0;
	left: 15%;
	transition:  all 0.6s ease-in-out;
}
a{
	background-color: var(--blue);
	color: white;
	background-image: linear-gradient(90deg,var(--blue) 0%,var(--lightblue) 74%);
}
a:hover{
	color: red;
}
button{
	background-color: var(--blue);
	color: white;
	background-image: linear-gradient(90deg,var(--blue) 0%,var(--lightblue) 74%);
}
.btn{
	margin-top: 20%;
	background-color: var(--blue);
	background-image: linear-gradient(90deg,var(--blue) 0%,var(--lightblue) 74%);
	border-radius: 20px;
	border: 1px solid var(--blue);
	color: var(--white);
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: bold;
	/* letter-spacing: 0.1rem; */
	/* padding: 0.99rem 4rem; */
	text-transform: uppercase;
	transition: traansform 80ms  ease-in;
}
.form{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0.3rem;
	top: 5%;
	height: 100%;
	text-align: center;
	position: absolute;
}
#form2{
	top: 25%;
	display: none;
}
#form1{
	top: 25%;
	display: block;
	
	
}
.btn:active{
	transform: scale(0.95);
}
.btn:focus{
	outline: none;
}
a:active{
	transform: scale(0.95);
}
a:focus{
	outline: none;
}